home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / winsock / maillist / 94-03.Z / 94-03 / text0221.txt < prev    next >
Encoding:
Text File  |  1994-03-30  |  6.6 KB  |  162 lines

  1. In article <2m78jv$h9h@sol.ctr.columbia.edu>, Eric Snyder <snyder@mga.com> says:
  2. >
  3. >>Trumpet SLIP to Sun. What to run on Sun?
  4. >I have also been trying to do this. I have not got this working yet so
  5. >this
  6. >may be entirely off base but for what it's worth here is what I have
  7. >found so far...
  8. >
  9. >You must have an entry in the hosts.slip file for your machine in the
  10. >format:
  11. >    login-name normal local-dot-address remote-dot-address
  12. >
  13. >Then you may use the SLIPLOGIN command from the command prompt to switch
  14. >to slip mode. 
  15. >
  16. >I have found this info in the book TCP/IP Network Administration from
  17. >O'Reilly on page 128.
  18. >
  19. >My problems may be related to communication parameters or slip
  20. >compression. Hope this helps. Please let me know if you get this working. 
  21. >
  22. >Eric
  23. >snyder@mga.com
  24.  
  25. I've been meaning to do this RSN, & found this info via veronica
  26. it looks fairly detailed & comprehensive, hope it helps.
  27. Regards, Richard Mayston.
  28.  
  29. This section is from the document '/reference/info/net.slip.sun-setup'.
  30.  
  31. >From comp.sys.mac.comm Sun May 31 07:38:21 1992
  32. From: gilbertd@sunflower.bio.indiana.edu (Don Gilbert)
  33. Date: 30 May 92 18:39:22 GMT
  34. Newsgroups: comp.sys.mac.comm
  35. Subject: How to configure a Sun as a SLIP server
  36.  
  37.  
  38. This document is directed at Unix workstation administrators/programmers
  39. who may want to set up a SLIP service for Mac/PC/Unix dialup users.
  40.  
  41.  
  42.  
  43. SLIP is Serial Line IP.  A SLIP server enables a home computer (Mac, PC, or
  44. Unix) to connect thru telephone dialup to the Internet.  For Macintoshes,
  45. there are now 2 or 3 vendors selling a SLIP module to work with Apple's
  46. MacTCP software.  There are also other, and probably better, ways to
  47. get a SLIP service than is described here.  Some terminal server hardware 
  48. includes SLIP support. Some commercial venders sell dialup IP service.
  49.  
  50. This describes my results recently from two days of hassles w/ free slipware 
  51. for Sun Sparcstation (sun4c model using SunOS 4.1.1).  Your mileage will vary
  52. depending on the Unix workstation you wish to set up as SLIP server.  The Mac
  53. side is much easier.
  54.  
  55. Suppose your organization's class B network number is 139.123, and you are
  56. subnetting with a class C-sized network mask of 0xffffff00.  Your
  57. departmental LAN is subnet 139.123.4.0, with an ethernetted Unix workstation
  58. called SunGod (139.123.4.1) among the other workstations on this subnet.  A
  59. modem is attached to one of SunGod's serial ports.  A Macintosh named MacHome
  60. wishes to connect to the network thru SLIP.
  61.  
  62. Steps for this, using freely available slip software for Suns are:
  63.  
  64. 1) plug a modem into a serial port on your Sun.
  65.  
  66. 2) build in the SLIP pseudodevice into the Sun Unix kernel.  Use
  67.    either slipware 4.0, cslip (compressed slip) based on 4.0 or
  68.    slipware 4.1 [see ftp refs below].  Unix kernel setup is only
  69.    for knowledgeable Unix programmers/administrators.
  70.  
  71. 3) compile and install the SLIP driver program(s).  This may be 
  72.   "sliplogin", which also uses the /etc/hosts.slip table and 
  73.    which seems most convenient for multiple users, and which leaves
  74.    your Sun serial port available for regular dialins at other times.
  75.    Or "slattach" which attaches a serial port on the Sun as a 
  76.    semi-permanent SLIP port.
  77.    
  78. 4) Assign MacHome an IP address, 139.123.4.99 for example, 
  79.    in Sungod's /etc/hosts table: 
  80.  
  81.     139.123.4.99   machome.my.domain.edu
  82.  
  83.   If using sliplogin, construct /etc/hosts.slip table:
  84.     # /etc/hosts.slip 
  85.     # notes: local-address is the SLIP server (SunGod)
  86.     # remote-address is the dialup computer (MacHome)
  87.     #username       mode    local-address   remote-address  netmask
  88.     myaccount       normal  139.123.4.1   139.123.4.99   225.225.225.0
  89.  
  90.  
  91. 5) Link the remote IP host MacHome to SunGod's ethernet address.  This
  92.    rather important step is not discussed in the slipware documents. Use 
  93.    command like "arp -s  RemoteIPaddress  LocalEthernetAddress  pub".  
  94.    See arp manpage.
  95.    
  96.    Interactively as root on Sungod for testing and/or in Sungod's 
  97.    /etc/rc.local add this line:
  98.    
  99.      arp -s machome `ifconfig le0 | sed -n "/ether/s/ether//gp"` pub
  100.       
  101. 6) On MacHome, if for instance Versaterm SLIP driver is used with MacTCP,
  102.    configure Versaterm AdminSlip properly.  If using cslip on Sungod, must
  103.    check the compressed slip option on Mac, otherwise uncheck this.  Insert
  104.    the IP address of MacHome, the net mask (as above) for your subnet setup,
  105.    and a gateway IP number, as used for other computers on this subnet.
  106.  
  107. 7) dial up from MacHome to SunGod's modem using your Mac Slip program (e.g.,
  108.    Versaterm AdminSLIP).  Log in w/ user and password as if you were logging 
  109.    on for interactive session.  If using sliplogin, you can run this kind of 
  110.    script at logon (where modem is connected to SunGod's /dev/ttya serial port):
  111.    
  112.    #!/bin/sh
  113.    /usr/bin/mesg n    # may not be needed
  114.    stty -tostop       # may not be needed
  115.    # sliplogin, called by user, reads /etc/hosts.slip for local:remote nodes
  116.    exec sliplogin < /dev/ttya
  117.  
  118. 8) Slip should now be working, try running NCSA Telnet (MacTCP), GopherApp,
  119.    Eudora (MacTCP) and other such MacTCP programs.
  120.    
  121. 9) When session is done, hang up slip line.  Modem on SunGod now should be
  122.    free for other users' regular or slip sessions.
  123.    
  124. Repeat steps (7) to (9) as needed.  Don't call me in the morning.
  125.  
  126.    
  127. ~References:
  128.   All needed slip server software for Sun Sparcstation and probably other
  129.   Unix computers, see
  130.   ftp.uu.net:networking/ip/slip/sun/...  
  131.    102751 Aug 22  1991 csn-slip-package.tar.Z  < contains slip-4.1
  132.     26148 Oct 31  1989 slip-4.0.tar.Z    < useable, see also cslip version
  133.  
  134.   and ftp.uu.net:networking/ip/slip/cslip/... 
  135.    271573 Apr  3  1990 cslipbeta.tar.Z  < usable, slip-4.1 may be better
  136.  
  137.  The Morningstar manual for their PPP/SLIP software is available
  138.  freely for ftp at morningstar.com.  It contains information I needed
  139.  to set up a slip server that I could not find in any of the free
  140.  SLIP packages.  
  141.  See morningstar.com:/pub/ppp/ppp-1.3-doc.shar.Z  
  142.              and     /pub/ppp/Free-SLIP-and-PPP 
  143.  
  144. >From Steve Dorner's recent SLIP for Mac review:
  145.  
  146. VersaTerm SLIP comes with VersaTerm 4.6.2, which goes for about $90
  147. mail-order, and includes an FTP server and client, MacTCP, a Telnet
  148. connection tool, and a time server and client.  Educational institutions
  149. are eligible for a reduced price arrangement. Contact Synergy Software,
  150. ads in many Mac magazines or via mail order software houses.
  151.  
  152. MacSLIP is $49.95.  Site licenses will be available for a reasonable price.
  153. Contact macslip@utexas.edu for more information.
  154.  
  155. InterCon has announced a Mac SLIP module.  Contact Help@Intercon.Com
  156.  
  157.  
  158. -- 
  159. Don Gilbert                                     gilbert@bio.indiana.edu
  160. biocomputing office, biology dept., indiana univ., bloomington, in 47405
  161.  
  162.